﻿using Company.IDAL;
using Company.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Company.DAL
{
    public partial class T_DictionaryDal : BaseDAL<T_Dictionary>, IT_DictionaryDal
    {

        public List<T_Dictionary> GetDictionary(string type)
        {
            var datalist = base.dbContext.Set<T_Dictionary>().Where(p => p.Dictionary_Type == type).ToList();
            return datalist;
        }
        public IQueryable<T_Dictionary> GetModelIsByPage<type>(int pageSize, int pageIndex, bool isAsc, System.Linq.Expressions.Expression<Func<T_Dictionary, type>> OrderByLambda, System.Linq.Expressions.Expression<Func<T_Dictionary, bool>> WhereLambda)
        {
            throw new NotImplementedException();
        }
    }
}
